PgAttribute.markupParserFinish

Finishes parsing markup.

After feeding a Pango markup parser some data with [method@GLib.MarkupParseContext.parse], use this function to get the list of attributes and text out of the markup. This function will not free @context, use [method@GLib.MarkupParseContext.free] to do so.

class PgAttribute
static
bool
markupParserFinish

Parameters

context SimpleXML

A valid parse context that was returned from [func@markup_parser_new]

attrList PgAttributeList

address of return location for a PangoAttrList

text string

address of return location for text with tags stripped

accelChar dchar

address of return location for accelerator char

Return Value

Type: bool

%FALSE if @error is set, otherwise %TRUE

Throws

GException on failure.

Meta

Since

1.31.0